package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
/** 
 * @Author DZQ 
 * @Author QQ:1304793236 
 * @Date 2021-09-09 09:53:02 
 */
@Entity
@Table ( name ="sy_comment" )
public class SyComment  implements Serializable {

	private static final long serialVersionUID =  4359918968052331743L;

	/**
	 * 自增主键
	 */
	@Id
   	@Column(name = "id" )
	private Integer id;

	/**
	 * 评论用户id
	 */
   	@Column(name = "user_id" )
	private Integer userId;

	/**
	 * 课程，微圈，商品id
	 */
   	@Column(name = "commodity_id" )
	private Integer commodityId;

	/**
	 * 类型（2视频，3微圈，4商品，5其他）
	 */
   	@Column(name = "type" )
	private Integer type;

	/**
	 * 评论内容
	 */
   	@Column(name = "content" )
	private String content;

	/**
	 * 父级评论id（第一级评论为0）
	 */
   	@Column(name = "parent_id" )
	private Integer parentId;

	/**
	 * 评论时间
	 */
   	@Column(name = "Comment_date" )
	private String commentDate;

	/**
	 * 是否显示（2显示，3不显示）默认2
	 */
   	@Column(name = "display" )
	private Integer display;

	/**
	 * 点赞数量
	 */
   	@Column(name = "fabulous" )
	private Integer fabulous;

	/**
	 * 回复数量
	 */
   	@Column(name = "reply" )
	private Integer reply;

	/**
	 * 创建人
	 */
   	@Column(name = "create_id" )
	private Integer createId;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private String createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_id" )
	private Integer updateId;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private String updateDate;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getCommodityId() {
    return commodityId;
  }

  public void setCommodityId(Integer commodityId) {
    this.commodityId = commodityId;
  }


  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }


  public String getCommentDate() {
    return commentDate;
  }

  public void setCommentDate(String commentDate) {
    this.commentDate = commentDate;
  }


  public Integer getDisplay() {
    return display;
  }

  public void setDisplay(Integer display) {
    this.display = display;
  }


  public Integer getFabulous() {
    return fabulous;
  }

  public void setFabulous(Integer fabulous) {
    this.fabulous = fabulous;
  }


  public Integer getReply() {
    return reply;
  }

  public void setReply(Integer reply) {
    this.reply = reply;
  }


  public Integer getCreateId() {
    return createId;
  }

  public void setCreateId(Integer createId) {
    this.createId = createId;
  }


  public String getCreateDate() {
    return createDate;
  }

  public void setCreateDate(String createDate) {
    this.createDate = createDate;
  }


  public Integer getUpdateId() {
    return updateId;
  }

  public void setUpdateId(Integer updateId) {
    this.updateId = updateId;
  }


  public String getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(String updateDate) {
    this.updateDate = updateDate;
  }

}
